package com.ruoyi.gas.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 gas_device
 * 
 * @author ruoyi
 * @date 2023-12-08
 */
public class GasDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private String deviceId;

    /** 设备类型名称 */
    @Excel(name = "设备类型名称")
    private String deviceTypeName;

    /** 设备运行状态（3在线 4离线） */
    @Excel(name = "设备运行状态", readConverterExp = "3=在线,4=离线")
    private Integer runningStatus;

    /** 设备经度 */
    @Excel(name = "设备经度")
    private String longitude;

    /** 设备维度 */
    @Excel(name = "设备维度")
    private String latitude;

    /** 设备所属企业名称 */
    @Excel(name = "设备所属企业名称")
    private String companyName;

    /** 设备所属企业地址 */
    @Excel(name = "设备所属企业地址")
    private String companyAddress;

    /** 设备联系人姓名 */
    @Excel(name = "设备联系人姓名")
    private String companyContact;

    /** 企业联系人电话 */
    @Excel(name = "企业联系人电话")
    private String telephone;

    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceTypeName(String deviceTypeName) 
    {
        this.deviceTypeName = deviceTypeName;
    }

    public String getDeviceTypeName() 
    {
        return deviceTypeName;
    }
    public void setRunningStatus(Integer runningStatus) 
    {
        this.runningStatus = runningStatus;
    }

    public Integer getRunningStatus() 
    {
        return runningStatus;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyAddress(String companyAddress) 
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress() 
    {
        return companyAddress;
    }
    public void setCompanyContact(String companyContact) 
    {
        this.companyContact = companyContact;
    }

    public String getCompanyContact() 
    {
        return companyContact;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceId", getDeviceId())
            .append("deviceTypeName", getDeviceTypeName())
            .append("runningStatus", getRunningStatus())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("companyName", getCompanyName())
            .append("companyAddress", getCompanyAddress())
            .append("companyContact", getCompanyContact())
            .append("telephone", getTelephone())
            .toString();
    }
}
